const mongoose = require('mongoose');
const Schema = mongoose.Schema;
require('mongoose-long')(mongoose);

const Equipmentinfo = new Schema({

    schema_version: {
        $type: Number,
        default: 1  // Current Schema Version
    },
    listData: [
        {
            name: String,
            value: String
        }
    ],
    NG:Object

}, {typeKey: '$type'});

module.exports = mongoose.model('Equipmentinfo', Equipmentinfo);
